/*
* $Id: Sort.h 116 2010-07-12 15:39:50Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _SORT_H_
#define _SORT_H_

class CTableCelRow;

class CSort{
	int m_nColumn;
private:
	int Compare(CTableCelRow* pRow1, CTableCelRow* pRow2);
	void Swap(CTableCelRow** From, CTableCelRow** To);
public:
	CSort(int nColumn);
	void Sort(CTableCelRow** s_arr,int first, int last);
};

#endif/*_SORT_H_*/